#include <iostream>
#include <string>
#include <chrono>
#include <sstream>
#include <iomanip>

using namespace std;
using std::endl;

void test()
{
    cout << "this is a test func!" << endl;
    std::stringstream ss;
}

int main(int argc, char** argv) {

    test();

    int temp = 0;
    for (int i = 0; i < 100; i++)
    {
        temp +=i;
    }
    cout << "temp is ::" << temp << endl;

    using namespace std::chrono;
    steady_clock::time_point t1 = steady_clock::now();
    for (size_t i = 0; i < 100000; i++)
    {
        temp+=i;
    }
    duration<double> time_used = duration_cast<duration<double>>(steady_clock::now() - t1);

    cout << time_used.count() << endl;

    return 0;
   
}